<?php include($plume['ROOT_PATH'] . "modules/Track/View/layout/layoutP.phtml"); ?>
<link rel="stylesheet" href="/css/bootstrap.min.css" type="text/css" />
<?php
$msg = isset($data['msg'])?$data['msg']:'';
$detail = isset($data['detail'])?$data['detail']:'';
?>
<div class="container">
<div class="row"><!-- first row -->
<div class="col-md-12 text-center">
  <h4>导入Excel表</h4>
  <h5>注：日期请在excel中设置为文本类型，格式为(yyyy-mm-dd hh:mm:ss)</h5>
  <hr>
</div>
</div><!-- end first row -->
<form method="post" action="/track/excel/index" enctype="multipart/form-data">
<!-- element -->
<div class="col-md-6">
<div class="form-group">
  <div class="row">
    <div class="col-md-3">
      <input class="btn btn-info" type="file" name="file_stu" />
    </div>
  </div>
</div>
</div>
<!-- end elment -->
<!-- element -->
<div class="col-md-6">
<div class="form-group">
  <div class="row">
    <div class="col-md-3">
      <input type="submit" class="btn btn-primary" value="导入" />
    </div>
  </div>
</div>
</div>
<!-- end elment -->
<div class="row"><!-- export row -->
<div class="col-md-12 text-center">
<hr>
<!-- element -->
<div class="col-md-5 col-md-offset-4">
<div class="form-group">
      <input type="hidden" name="filename" value="test.xlsx"/>
      <input type="submit" class="btn btn-primary" value="导出" />
</div>
</div>
<!-- end elment -->
</div>
</div><!-- end export row -->
</form>
<div class="row"><!-- status row -->
<div class="col-md-12 text-center">
<hr>
<!-- element -->
<div class="col-md-6">
<div class="form-group">
  <div class="row">
    <div class="col-md-3">
      <label class="control-label" for="from">导入状态：</label>
    </div>
    <div class="col-md-3">
     <label><?php echo $msg;?></label>
    </div>
  </div>
</div>
</div>
<!-- end elment -->
<!-- element -->
<div class="col-md-6">
<div class="form-group">
  <div class="row">
    <div class="col-md-3">
      <label class="control-label" for="from">错误信息：</label>
    </div>
    <div class="col-md-3">
     <label><?php echo $detail;?></label>
    </div>
  </div>
</div>
</div>
<!-- end elment -->
</div><!-- end status row -->
</div><!-- end container -->
<?php include($plume['ROOT_PATH'] . "modules/Track/View/layout/footer.phtml"); ?>
<script src="/js/track.js"></script>